package com.tarena.lbs.user.enums;

import com.tarena.lbs.base.protocol.enums.ErrorCodeSupport;
import lombok.Getter;

@Getter
public enum UserResultEnum implements ErrorCodeSupport {
    PHONE_EXISTS("-1", "手机号已存在"),
    BUSINESS_NOT_EXISTS("-2", "商家不存在"),
    PURVIEW_NOT_EXISTS("-3", "用户权限不足"),
    USER_NOT_LOGIN("-4", "用户未登录"),
    USERGROUP_NOT_EXISTS("-5", "人群不存在"),
    ;

    UserResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    private String code;

    private String message;
}
